<?php

function StrReplace()
{
	$string = "This is a test<br>";
	echo str_replace(" is", " was", $string);
	echo ereg_replace("( )is", "\\1was", $string);
	echo ereg_replace("(( )is)", "\\2was", $string);
}

function StrExplode()
{
	$string = "/data0001/01633.wav";
	$strArr = explode( "/", $string );
	print_r( $strArr );
}


// start execution
//StrReplace();
StrExplode();

?>
